package com.chenglu.android.payment.bean;

/**
 * @author: lyj
 * @Created: by Copyright 2023/10/13 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description：
 */
public class PayTypeConfig {

    private Integer code;
    private Data data;
    private String msg;
    private Boolean success;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public static class Data {
        private AppConfig appConfig;
        private MiniProgramConfig miniProgramConfig;

        public AppConfig getAppConfig() {
            return appConfig;
        }

        public void setAppConfig(AppConfig appConfig) {
            this.appConfig = appConfig;
        }

        public MiniProgramConfig getMiniProgramConfig() {
            return miniProgramConfig;
        }

        public void setMiniProgramConfig(MiniProgramConfig miniProgramConfig) {
            this.miniProgramConfig = miniProgramConfig;
        }

        public static class AppConfig {
            private Integer aliPay;
            private Integer moneyPay;
            private Integer wxPay;

            public Integer getAliPay() {
                return aliPay;
            }

            public void setAliPay(Integer aliPay) {
                this.aliPay = aliPay;
            }

            public Integer getMoneyPay() {
                return moneyPay;
            }

            public void setMoneyPay(Integer moneyPay) {
                this.moneyPay = moneyPay;
            }

            public Integer getWxPay() {
                return wxPay;
            }

            public void setWxPay(Integer wxPay) {
                this.wxPay = wxPay;
            }
        }

        public static class MiniProgramConfig {
            private MemberCardPayInfo memberCardPayInfo;
            private Integer moneyPay;
            private MoneyPayInfo moneyPayInfo;
            private Integer wxPay;

            public MemberCardPayInfo getMemberCardPayInfo() {
                return memberCardPayInfo;
            }

            public void setMemberCardPayInfo(MemberCardPayInfo memberCardPayInfo) {
                this.memberCardPayInfo = memberCardPayInfo;
            }

            public Integer getMoneyPay() {
                return moneyPay;
            }

            public void setMoneyPay(Integer moneyPay) {
                this.moneyPay = moneyPay;
            }

            public MoneyPayInfo getMoneyPayInfo() {
                return moneyPayInfo;
            }

            public void setMoneyPayInfo(MoneyPayInfo moneyPayInfo) {
                this.moneyPayInfo = moneyPayInfo;
            }

            public Integer getWxPay() {
                return wxPay;
            }

            public void setWxPay(Integer wxPay) {
                this.wxPay = wxPay;
            }

            public static class MemberCardPayInfo {
                private Integer balance;
                private Integer discount;
                private Integer status;

                public Integer getBalance() {
                    return balance;
                }

                public void setBalance(Integer balance) {
                    this.balance = balance;
                }

                public Integer getDiscount() {
                    return discount;
                }

                public void setDiscount(Integer discount) {
                    this.discount = discount;
                }

                public Integer getStatus() {
                    return status;
                }

                public void setStatus(Integer status) {
                    this.status = status;
                }
            }

            public static class MoneyPayInfo {
                private double balance;
                private Integer status;

                public double getBalance() {
                    return balance;
                }

                public void setBalance(double balance) {
                    this.balance = balance;
                }

                public Integer getStatus() {
                    return status;
                }

                public void setStatus(Integer status) {
                    this.status = status;
                }
            }
        }
    }
}
